package com.aeye.mbr.upms.rpc.api;

import com.aeye.mbr.common.plugin.mapper.BaseService;
import com.aeye.mbr.common.result.BootstrapTableParams;
import com.aeye.mbr.common.result.BootstrapTableResult;
import com.aeye.mbr.upms.dao.model.UpmsUserRole;

/**
* UpmsUserRoleService接口
* Created by shuzheng on 2017/3/20.
*/
public interface UpmsUserRoleService extends BaseService<UpmsUserRole> {

    /**
     * 用户角色
     * @param roleIds 角色ids
     * @param id 用户id
     * @return
     */
    int role(String[] roleIds, int id);


    /**
     * 根据条件获取角色数据
     * @param params
     * @return
     */
    BootstrapTableResult<UpmsUserRole> selectUpmsUserRoleByParams(BootstrapTableParams params);



}